﻿using PrismModule.EditDrugs.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using PrismModule.MS.EditDrugs.Views;

namespace PrismModule.EditDrugs
{
    public class EditDrugsModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            var _regionManager = containerProvider.Resolve<IRegionManager>();
            //_regionManager.RequestNavigate("ContentRegion", "PUC_ShowDicDrugs");
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            //注册为导航界面
            containerRegistry.RegisterForNavigation<PUC_ShowDicDrugs>();
            containerRegistry.RegisterForNavigation<PUC_EditDrug>();
            containerRegistry.RegisterForNavigation<PUC_DialogEditDrug>();
        }
    }
}